package com.sz.biz.logistics.core.entity;

import com.sz.common.base.entity.VersionEntity;
import com.sz.common.base.entity.VersionEntityBase;

/**
 * 产品可见性
 */
public class ProductCustomerRel extends VersionEntityBase implements VersionEntity {
    private Integer id;
    /**
     *   产品的Id
     */
    private Integer productGroupId;
    /**
     *   产品uid
     */
    private String productUid;
    /**
     * 产品所在组
     */
    private Integer productGroupLeafId;
    /**
     *   客户id
     */
    private Integer customerId;
    /**
     *   限制类型： 0： 产品组; 1: 产品
     */
    private Integer type;
    /**
     * 白黑名单标志 0:可以看到公共产品和自己设置的白名单产品 1: 白名单(只能看白名单里的产品)； 2： 黑名单(不能看的产品)
     */
    private Integer wbFlag;

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductGroupId() {
        return productGroupId;
    }

    public void setProductGroupId(Integer productGroupId) {
        this.productGroupId = productGroupId;
    }

    public String getProductUid() {
        return productUid;
    }

    public void setProductUid(String productUid) {
        this.productUid = productUid == null ? null : productUid.trim();
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getWbFlag() {
        return wbFlag;
    }

    public void setWbFlag(Integer wbFlag) {
        this.wbFlag = wbFlag;
    }

    public Integer getProductGroupLeafId() {
        return productGroupLeafId;
    }

    public void setProductGroupLeafId(Integer productGroupLeafId) {
        this.productGroupLeafId = productGroupLeafId;
    }
}